cmake_minimum_required(VERSION 3.10)
project(hdmi-rx_monitor LANGUAGES CXX)

# 收集所有 .cpp 文件
file(GLOB SOURCE_FILES "*.cpp")
add_executable(hdmi-rx_monitor hdmi-rx_monitor.cpp ${SOURCE_FILES})
target_link_libraries(hdmi-rx_monitor PRIVATE udev)